﻿using MediatR;
using SheepCultivation.Common.Dto;

namespace SheepCultivation.API.AddliCation.PurchaseSales
{
    public class SheepSaleCreateCommon : IRequest<Result>
    {
        /// <summary>
        /// 耳号
        /// </summary>
        public int BreedingSheepArchiveId { get; set; }
        /// <summary>
        /// 成交价
        /// </summary>
        public decimal SoldPrice { get; set; }
        /// <summary>
        /// 定价
        /// </summary>
        public decimal Pricing { get; set; }
        /// <summary>
        /// 折扣比例
        /// </summary>
        public int Discount { get; set; }
        /// <summary>
        /// 等级
        /// </summary>
        public int Rank { get; set; }
        /// <summary>
        /// 品种
        /// </summary>
        public int SheepbreedId { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int Sex { get; set; }
        /// <summary>
        /// 羊只类型
        /// </summary>
        public int SheepTypesId { get; set; }
        /// <summary>
        /// 繁殖状态
        /// </summary>
        public int ReproductiveState { get; set; }
        /// <summary>
        /// 栋舍
        /// </summary>
        public int BuildingId { get; set; }
        /// <summary>
        /// 栏位
        /// </summary>
        public int ColumnsId { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime BirthDate { get; set; }
        /// <summary>
        /// 出生重
        /// </summary>
        public int BirthWeight { get; set; }
        /// <summary>
        /// 断奶重
        /// </summary>
        public int Weight { get; set; }
        /// <summary>
        /// 父号
        /// </summary>
        public int FatherNumber { get; set; }
        /// <summary>
        /// 耳号
        /// </summary>
        public int MotherNumber { get; set; }
        /// <summary>
        /// 月龄
        /// </summary>
        public int MonthAge { get; set; }
        /// <summary>
        /// 销售日期
        /// </summary>
        public DateTime SaleDate { get; set; }
        /// <summary>
        /// 仓库
        /// </summary>
        public int DepotId { get; set; }
        /// <summary>
        /// 客户
        /// </summary>
        public int ClientId { get; set; }
        /// <summary>
        /// 收货地址
        /// </summary>
        public string Addresses { get; set; }
        /// <summary>
        /// 销售员
        /// </summary>
        public int SalesmanId { get; set; }
        /// <summary>
        /// 单据号
        /// </summary>
        public string? Numberes { get; set; }
        /// <summary>
        /// 部门Id
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 流水号
        /// </summary>
        public string? SerialNumber { get; set; }
    }
}
